﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Fiddler.AMF
{
    class AmfMessage
    {
        private List<AmfHeader> _headers = new List<AmfHeader>();
        private List<AmfBody> _bodies = new List<AmfBody>();
        private List<AmfResponse> response = new List<AmfResponse>();

        public List<AmfResponse> Response
        {
            get
            {
                return this.response;
            }
        }

        public UInt16 Version { get; internal set; }

        public List<AmfHeader> Headers
        {
            get
            {
                return _headers;
            }
        }

        public List<AmfBody> Bodies
        {
            get
            {
                return _bodies;
            }
        }
    }
}
